package com.dbappsecurity.bifrost.entity;

/**
 * Created by Arirus on 2017/8/7.
 */

public class ShareContent {
  public String url;
  public String title;
  public String content;
  public String image;
  public String platform;

  public ShareContent() {
  }

  public ShareContent(String url, String title, String content, String image, String platform) {
    this.url = url;
    this.title = title;
    this.content = content;
    this.image = image;
    this.platform = platform;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append(title)
        .append(" ")
        .append(content)
        .append(" ")
        .append(url)
        .append(" ")
        .append(platform)
        .append(" ");
    return sb.toString();
  }

  public String getPlatform() {
    return platform;
  }

  public void setPlatform(String platform) {
    this.platform = platform;
  }

  public ShareContent setUrl(String url) {
    this.url = url;
    return this;
  }

  public ShareContent setTitle(String title) {
    this.title = title;
    return this;
  }

  public ShareContent setContent(String content) {
    this.content = content;
    return this;
  }

  public ShareContent setImage(String image) {
    this.image = image;
    return this;
  }
}
